package com.linln.modules.order.domain;


import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName(value = "tbl_yearaudit_order")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class YearauditOrder {

  @TableId(value = "id", type = IdType.UUID)
  private String id;

  //服务 0 自行 1 上门
  @TableField(value = "service")
  private String service;


  //消费的店铺
  @TableField(value = "shop_id")
  private String shopId;

  //车牌
  @TableField(value = "plate")
  private String plate;

  //联系人
  @TableField(value = "contacts")
  private String contacts;

  //手机
  @TableField(value = "phone")
  private String phone;

  //取车时间
  @TableField(value = "pick_up_time")
  private String pickUpTime;

  //取车日期
  @TableField(value = "pick_up_date")
  private String pickUpDate;

  //取车地址
  @TableField(value = "pick_up_address")
  private String pickUpAddress;

  //取车码
  @TableField(value = "pick_up_code")
  private String pickUpCode;

  //备注
  @TableField(value = "remarks")
  private String remarks;

  //经度
  @TableField(value = "longitude")
  private String longitude;

  //纬度
  @TableField(value = "latitude")
  private String latitude;

  //用户
  @TableField(value = "user_id")
  private String userId;

  //状态
  @TableField(value = "status")
  private String status;

  //创建日期
  @TableField(value = "create_date")
  private String createDate;

  //修改日期
  @TableField(value = "update_date")
  private String updateDate;


  //逻辑删除
  @TableLogic
  @TableField(value = "del_flag")
  private String delFlag;

  //是否使用优惠卷
  @TableField(value = "is_ticket")
  private Boolean isTicket;
  //
  //优惠卷使用记录
  @TableField(value = "ticket_log")
  private String ticketLog;

  @TableField(value = "ticket_id")
  private String ticketId;

  //优惠卷使用记录
  @TableField(value = "order_num")
  private String orderNum;

  //取车端是否显示
  @TableField(value = "pickup_del_flag")
  private String pickupDelFlag;

  @TableField(exist = false)
  private String shopName;

  @TableField(exist = false)
  private String takecaruser;
}
